package com.vshop.entity.newpojo.response;

import lombok.Getter;
import lombok.Setter;

import javax.xml.bind.annotation.*;

@Setter
@Getter
@XmlAccessorType(XmlAccessType.FIELD)
@XmlAccessorOrder(XmlAccessOrder.ALPHABETICAL)
public class ResponseHeader {
    /*通信协议版本号*/

    @XmlElement(name = "version")
    private String version;

    /* 接入方编码 */

    @XmlElement(name = "access_code")
    private String accessCode;

    /*返回响应时的 UTC 时间戳（秒）*/

    @XmlElement(name = "timestamp")
    private String timestamp;

    /*接口业务类型*/

    @XmlElement(name = "cmd_type")
    private String cmdType;

    /*此次交互的响应码*/

    @XmlElement(name = "ret_code")
    private String resultCode;

    /*此次交互的响应码描述信息，字段取值可以为空*/

    @XmlElement(name = "ret_info")
    private String resultInfo;

}
